package com.hanthink.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
* <p>Title: HdfsProperties</p>  
* <p>Description: 分布式对象存储配置参数</p>  
* @author vondser
* @date 2020年12月8日
 */

@Component
@ConfigurationProperties(prefix = "minio")   
public class HdfsProperties {
	
    private Integer expire;

    private String endpoint;

    private String accesskey;

    private String secretkey;

    private String bucketName;

	public Integer getExpire() {
		return expire;
	}

	public void setExpire(Integer expire) {
		this.expire = expire;
	}

	public String getEndpoint() {
		return endpoint;
	}

	public void setEndpoint(String endpoint) {
		this.endpoint = endpoint;
	}

	public String getAccesskey() {
		return accesskey;
	}

	public void setAccesskey(String accesskey) {
		this.accesskey = accesskey;
	}

	public String getSecretkey() {
		return secretkey;
	}

	public void setSecretkey(String secretkey) {
		this.secretkey = secretkey;
	}

	public String getBucketName() {
		return bucketName;
	}

	public void setBucketName(String bucketName) {
		this.bucketName = bucketName;
	}
}
